package com.cube.share.sms.service;

import com.cube.share.base.templates.CustomException;
import com.cube.share.sms.aspect.SmsLog;
import org.springframework.stereotype.Service;

/**
 * @author cube.li
 * @date 2021/9/8 22:10
 * @description 短信接口
 */
@Service
public class SmsApi {

    @SmsLog
    public Integer sendSms(String content, String mobile) {
        throw new CustomException("异常发生了");
        //return 1;
    }
}
